import { store, getStore } from '@/utils/session'

const user = {
  state: {
    subTitle: getStore('subTitle') || ''
  },
  mutations: {
    SET_SUB_TITLE: (state, subTitle) => {
      state.subTitle = subTitle
      store('subTitle', subTitle)
    }
  }
}
export default user
